package org.exam.system.service;


import com.github.pagehelper.PageInfo;
import org.exam.system.domain.Role;
import org.exam.system.query.RoleQuery;


import java.util.List;


public interface IRoleService {
    void add(Role role);

    void delete(Long id);

    Role get(Long id);

    List<Role> getAll();

    void update(Role role);

    void patchDelete(Long[] ids);

    PageInfo<Role> queryPage(RoleQuery roleQuery);



}

